package Test1230am;

public class Test03 {
    public static void main(String[] args) {

        // (3)for循环打印2,4,6,8,10
        // (3)for循环打印9,7,5,3,1
        for (int i = 1; i <=10; i++) {
            if (i % 2 == 0) {
                System.out.println(i);
            }

        }
        System.out.println();
        for (int i = 9; i >=1; i-=2) {
             {
                System.out.println(i);
            }

        }
    }

}